# File:		MakeFile
# 	
# 	Description: MPW make command file for generating build commands.
# 
# 	Author:		John Montbriand
# 
# 	Copyright: 	Copyright:  1999 by Apple Computer, Inc.
# 				all rights reserved.
# 	
# 	Disclaimer:	You may incorporate this sample code into your applications without
# 				restriction, though the sample code has been provided "AS IS" and the
# 				responsibility for its operation is 100% yours.  However, what you are
# 				not permitted to do is to redistribute the source as "DSC Sample Code"
# 				after having made changes. If you're going to re-distribute the source,
# 				we require that you make it clear in the source that the code was
# 				descended from Apple Sample Code, but that you've made changes.
# 	
# 	Change History (most recent first):
#
#      9/13/99 - created - JM
# 

PPCObjects = :obj:FinderLaunch.c.ppc :obj:TestFinderLaunch.c.ppc
M68kObjects = :obj:FinderLaunch.c.68k :obj:TestFinderLaunch.c.68k

CC68k = SC -align power -proto strict 
CCppc  = MrC -w 35 -align power -proto strict 

RezFiles = TestFinderLaunch.r
Resources = {RezFiles} TestFinderLaunch.rsrc
TargetFile = TestFinderLaunch

# resources

{TargetFile}  {Resources} {M68kObjects}  {PPCObjects}
	Rez -t "APPL" -i "{RIncludes}" -o {TargetFile} {RezFiles}

# object code

{TargetFile}  {Resources} {M68kObjects}
	Link -w -o {TargetFile} -t "APPL" -sym off 
		{M68kObjects} 
		{CLibraries}StdCLib.o 
		{Libraries}MathLib.o  
		{Libraries}Interface.o 
		{Libraries}MacRuntime.o 
		{Libraries}ToolLibs.o 
		{Libraries}IntEnv.o

{TargetFile}  {Resources} {PPCObjects}
	PPCLink -t 'APPL' -o {TargetFile} 
		-weak AppearanceLib,NavigationLib 
		{PPCObjects} 
		{SharedLibraries}AppearanceLib 
		{SharedLibraries}NavigationLib 
		{SharedLibraries}InterfaceLib 
		{SharedLibraries}StdCLib 
		{SharedLibraries}MathLib 
		{PPCLibraries}PPCCRuntime.o 
		{PPCLibraries}StdCRuntime.o 
		{PPCLibraries}PPCToolLibs.o

# source code

:obj:FinderLaunch.c.ppc   FinderLaunch.c FinderLaunch.h
	{CCppc} FinderLaunch.c -o :obj:FinderLaunch.c.ppc

:obj:FinderLaunch.c.68k   FinderLaunch.c FinderLaunch.h
	{CC68k} FinderLaunch.c -o :obj:FinderLaunch.c.68k


:obj:TestFinderLaunch.c.ppc   TestFinderLaunch.c TestFinderLaunch.h FinderLaunch.h
	{CCppc} TestFinderLaunch.c -o :obj:TestFinderLaunch.c.ppc

:obj:TestFinderLaunch.c.68k   TestFinderLaunch.c TestFinderLaunch.h FinderLaunch.h
	{CC68k} TestFinderLaunch.c -o :obj:TestFinderLaunch.c.68k
